#ifndef CONTRAL_H
#define CONTRAL_H
#include"public.h"
#include<map>
#include"view_login.h"
#include"view_register.h"
#include"view_exit.h"
#include"view_talkone.h"
#include"view_talkonemsg.h"
#include"view_offlinenote.h"
using namespace std;
typedef class contral
{
	public:
		contral();
		~contral();
		
		void process(char *buff,int cli_fd);

	private:
		map<type,view*> _map;
}Contral,*Pcontral;

#endif
